<?php

/*
|--------------------------------------------------------------------------
| Application Routes
|--------------------------------------------------------------------------
|
| Here is where you can register all of the routes for an application.
| It's a breeze. Simply tell Laravel the URIs it should respond to
| and give it the controller to call when that URI is requested.
|
*/
//强大的路由文件
Route::get('/', function () {
	//解析模板文件 
    return view('welcome');
    // echo 'iloveyou';
});

Route::get('/admin',function(){
	return view('Admin.index.index');
});

Route::controller('/admin/user','UserController');
Route::controller('/admin/cate','CateController');

